from sqlalchemy import Column, Integer, Table, ForeignKey

from common.database import Base

__all__ = ['AuthUsersRoles']

AuthUsersRoles = Table('auth_users_roles', Base.metadata,
                       Column('auth_users_uuid', Integer, ForeignKey('auth_users.uuid'), primary_key=True),
                       Column('auth_roles_uuid', Integer, ForeignKey('auth_roles.uuid'), primary_key=True),
                       extend_existing=True)
